const Contract = artifacts.require('StudentListStorage.sol')

module.exports = async function (callback) {
  
  const studentList = await Contract.deployed()

  await studentList.addStudent('ly', 18)

  const res = await studentList.getStudentList()

  console.log(res);
  console.log(await studentList.StudentList(0));
  callback()
}